﻿@page "/LeaveIndex"

<div class="card-container">
    <Tabs @bind-ActiveKey="@ActiveKey">
        <TabPane Key="1" Tab="新增请假">
            <AddLeaveData />
        </TabPane>
        <TabPane Key="2" Tab="请假历史">
            <FetchData />
        </TabPane>
    </Tabs>
</div>
@code {
    public static string ActiveKey { get; set; } = "1";
}
